function addAnnouncement(domain,success){
    request("/announcement","post",domain,success)
}
function deleteAnnouncement(id,success){
    request("/announcement/"+id,"delete",{},success)
}
function updateAnnouncement(domain,success){
    request("/announcement","put",domain,success)
}
function getAnnouncement(id,success){
    request("/announcement/"+id,"get",{},success)
}
function pageAnnouncement(pageRequest,domain,success){
    request("/announcement/page","post",{pageRequest:pageRequest,domain:domain},success)
}


function addInternshipProgram(domain,success){
    request("/internship/program","post",domain,success)
}
function deleteInternshipProgram(id,success){
    request("/internship/program/"+id,"delete",{},success)
}
function updateInternshipProgram(domain,success){
    request("/internship/program","put",domain,success)
}
function getInternshipProgram(id,success){
    request("/internship/program/"+id,"get",{},success)
}
function pageInternshipProgram(pageRequest,domain,success){
    request("/internship/program/page","post",{pageRequest:pageRequest,domain:domain},success)
}
function listInternshipProgram(success){
    request("/internship/program/list","post",{},success)
}


function addInternshipProgramEvaluation(domain,success){
    request("/internship/program/evaluation","post",domain,success)
}
function deleteInternshipProgramEvaluation(id,success){
    request("/internship/program/evaluation/"+id,"delete",{},success)
}
function updateInternshipProgramEvaluation(domain,success){
    request("/internship/program/evaluation","put",domain,success)
}
function getInternshipProgramEvaluation(id,success){
    request("/internship/program/evaluation/"+id,"get",{},success)
}
function pageInternshipProgramEvaluation(pageRequest,domain,success){
    request("/internship/program/evaluation/page","post",{pageRequest:pageRequest,domain:domain},success)
}


function addInternshipWeekly(domain,success){
    request("/internship/weekly","post",domain,success)
}
function deleteInternshipWeekly(id,success){
    request("/internship/weekly/"+id,"delete",{},success)
}
function updateInternshipWeekly(domain,success){
    request("/internship/weekly","put",domain,success)
}
function getInternshipWeekly(id,success){
    request("/internship/weekly/"+id,"get",{},success)
}
function pageInternshipWeekly(pageRequest,domain,success){
    request("/internship/weekly/page","post",{pageRequest:pageRequest,domain:domain},success)
}

function addMyClass(domain,success){
    request("/my/class","post",domain,success)
}
function deleteMyClass(id,success){
    request("/my/class/"+id,"delete",{},success)
}
function updateMyClass(domain,success){
    request("/my/class","put",domain,success)
}
function getMyClass(id,success){
    request("/my/class/"+id,"get",{},success)
}
function pageMyClass(pageRequest,domain,success){
    request("/my/class/page","post",{pageRequest:pageRequest,domain:domain},success)
}
function listMyClass(success){
    request("/my/class/list","post",{},success)
}


function addUser(domain,success){
    request("/user","post",domain,success)
}
function deleteUser(id,success){
    request("/user/"+id,"delete",{},success)
}
function updateUser(domain,success){
    request("/user","put",domain,success)
}
function getUser(id,success){
    request("/user/"+id,"get",{},success)
}
function pageUser(pageRequest,domain,success){
    request("/user/page","post",{pageRequest:pageRequest,domain:domain},success)
}
function listUser(domain,success){
    request("/user/list","post",domain,success)
}
function changePassword(domain,success){
    request("/user/change/password","put",domain,success)
}



function login(data,success){
     request("/login","post",data,success)
}

function exportUserTemplate(){
    window.location="/excel/user/template"
}




